//
//  TBCSettingView.m
//  待定
//
//  Created by BoyaLee on 15/11/5.
//  Copyright © 2015年 BoyaLee. All rights reserved.
//

#import "TBCSettingView.h"

@implementation TBCSettingView


-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self CreateSubview];
    }
    return self;
}

-(void)CreateSubview
{
    
    UIImageView *imageV = [[UIImageView alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    imageV.image = [UIImage imageNamed:@"AboutBg@2x"];
    [self addSubview:imageV];
   self.headImageView = [[UIImageView alloc] initWithFrame:CGRectMake(135*WIDTHSUIT, (64+60)*HEIGHTSUIT, 100*WIDTHSUIT, 80*HEIGHTSUIT)];
    self.headImageView.layer.masksToBounds = YES;
    self.headImageView.layer.cornerRadius = self.headImageView.frame.size.width / 8;
    self.headImageView.backgroundColor = [UIColor redColor];
    self.headImageView.image = [UIImage imageNamed:@"PlaceHolderImage@2x.png"];
    [imageV addSubview:self.headImageView];
    
    self.contentLabel = [[BaseLabel alloc] initWithFrame:CGRectMake(80*WIDTHSUIT, 250*HEIGHTSUIT, 230*WIDTHSUIT, 150*HEIGHTSUIT)];
    //self.contentLabel.backgroundColor = [UIColor redColor];
    self.contentLabel.numberOfLines = 0;
    self.contentLabel.text = @"1.这款客户端是一款休闲娱乐类信息平台\n2.历时10个工作日设计完成\n3.如果有任何建议,可以通过邮箱联系我们\n";
    [imageV addSubview:self.contentLabel];
    
    
    BaseLabel *label = [[BaseLabel alloc] initWithFrame:CGRectMake(80*WIDTHSUIT, 450*HEIGHTSUIT, 230*WIDTHSUIT, 110)];
    label.numberOfLines = 0;
    //label.backgroundColor = [UIColor yellowColor];
    label.text = @"邮箱: 931177461@qq.com\n867727678@qq.com\n1749608729@qq.com";
    [self addSubview:label];
}

@end
